import os

from celery import Celery

if not os.getenv('DJANGO_SETTINGS_MODULE'):
    os.environ['DJANGO_SETTINGS_MODULE'] = 'md_sc.settings.dev'

celery_app = Celery('meiduo', broker='redis://127.0.0.1:6379/3')
celery_app.autodiscover_tasks(['celery_tasks.sms','celery_tasks.email'])

